﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShoppingCartPage.aspx.cs" Inherits="XinBang.Web.ShoppingCartPage" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderPlaceHolder" runat="server">
<link href="Style/ShoppingCart.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/lib/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/shoppingcart.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BrowseRecordPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainPlaceHolder" runat="server">
    <!--lineAfterTop -->
    <div id="goodsOrder">
    	<div class="goodsOrderTiltle">
            我的购物车
        </div><!-- goodsOrderTiltle-->
        <asp:GridView ID="shoppingCartList" CssClass="goodsOrder" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="GoodsId" HeaderText="商品编号" ReadOnly="True" >
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Gooid" HeaderText="商品名称" />
                <asp:BoundField DataField="GoodsPrice" HeaderText="单价" >
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Amount" HeaderText="订购数量" >
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Cent" HeaderText="赠送积分" >
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Total" HeaderText="小计" >
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <a href="javascript:void(0);" class="remove">移出购物车</a>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                您的购物车中还没有任何商品。
            </EmptyDataTemplate>
        </asp:GridView>
        <!--goodsOrderDetail -->
        <!--goodsOrder -->
        <div id="orderFoward">
    	    <asp:Button ID="toPay" CssClass="pay" runat="server" Text="" OnClick="toPay_Click" />
            <input id="clean" type="button" />
        </div>
    </div>
    

</asp:Content>
